package cn.cleanarch.infra.idp.uaa.core.domain.vo;

import java.time.LocalDateTime;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class UserItemVO {

  private Long id; // userId
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime updateTime;
  private String username;
  private Boolean enable;

  // 个人信息
  private String avatar;
  private String address;
  private String email;
  private String nickName;
  private Integer gender;

  private List<RoleVO> roles;
}
